package controllers

import (
	"fmt"

	beego "github.com/beego/beego/v2/server/web"
)

type MainController struct {
	beego.Controller
}

func (c *MainController) Get() {
	c.Data["useHtml"] = true
	fmt.Println(c.Ctx.Request.UserAgent())
	c.TplName = "index.html"
}
